package com.baba.vote.dao;

import com.baba.vote.dto.response.VoteActDto;import com.baba.vote.pojo.VoteAct;import org.apache.ibatis.annotations.Param;import java.util.List;

/**
 * @author moxinHuoHuo
 * @create 2020/4/17 下午10:45
 */
public interface VoteActMapper {
  int deleteByPrimaryKey(Integer id);

  int insert(VoteAct record);

  int insertSelective(VoteAct record);

  VoteAct selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(VoteAct record);

  int updateByPrimaryKey(VoteAct record);

  List<VoteActDto> getDto();

  int updateStatusById(@Param("updatedStatus") Boolean updatedStatus, @Param("id") Integer id);

  VoteAct findById(@Param("id") Integer id);

  List<VoteAct> get();
}